ColorF Constructor(Single[])
In This Topic
Initializes a new instance of the
ColorF struct.
Syntax
'Declaration
Public Function New( _
ByVal () As System.Single _
)
public ColorF(
System.float[]
)
Parameters
- values
- The values to assign to the red, green, blue, and alpha components of the color. This must be an array with four elements.
Exceptions
Exception | Description |
System.ArgumentNullException | Thrown when is null . |
System.ArgumentOutOfRangeException | Thrown when contains more or less than four elements. |
See Also